package com.dzx.design.behavioral.mediator;

/**
 * @author dzx
 * @ClassName:
 * @Description:
 * @date 2019年08月15日 08:36:44
 */
public class Test {
    public static void main(String[] args) {
        User dzx = new User("段朝旭");
        User xxm = new User("小小美");

        dzx.sendMessage("hey!Tom!");
        xxm.sendMessage("ok!dzx!");
    }
}
